package structural.bridge;

// Basic Remote Control (turn on/off)
// Advanced Remote Control (volume control, channel change)
// Movie Remote Control (play, pause, stop)

// RemoteControl
//   SonyRemoteControl
//   SamsungRemoteControl
//
//   AdvanceRemoteControl
//     SonyAdvanceRemoteControl
//     SamsungAdvanceRemoteControl
public class RemoteControl {
    protected final IDevice device;

    public RemoteControl(IDevice device) {
        this.device = device;
    }

    public void turnOn() {
        device.turnOn();
    }


    public void turnOff() {
        device.turnOff();
    }
}
